/* parser.h is part of VIP program
 * Written by J. Salvador Arias, 2010
 *      CONICET, INSUE, Instituto Miguel Lillo,
 *      Miguel Lillo 205, S.M. de Tucuman (4000)
 *      Tucuman, Argentina
 *      e-mail: jsalarias@csnat.unt.edu.ar
 *
 * VIP is a free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public
 * License as published by the Free Software Foundation and
 * Creative Commons.
 *
 * This file and the VIP program is distributed in the hope
 * that it will be useful, but WITHOUT ANY WARRANTY; without
 * even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE.
 * See the GNU General Public License for more details.
 *
 * To view a copy of this license, visit
 * http://creativecommons.org/licenses/GPL/2.0/
 * or send a letter to
 * Creative Commons, 171 Second Street, Suite 300,
 * San Francisco, California, 94105, USA.
 */

#ifndef PARSER_HEADER_INCLUDED
#define PARSER_HEADER_INCLUDED

/* ------ High level input ------ */
/* Parser functions for high level control of user generated input */

#include "ghead.h"
#include "progbar.h"
#include "in.h"

/* Read an input file */
SFLAG ReadFile (gchar* name, PROGRESSSTRUCT* progress);
SFLAG FeedFile (gchar* name, PROGRESSSTRUCT* progress);
SFLAG ReadResults (gchar* name, PROGRESSSTRUCT* progress);

/* Set a command line */
void SetCommandLine (gchar* text);
SFLAG GetCmdNumber (SINTEGER* dest);
SFLAG GetCmdReal (SREAL* dest);

#endif
